import { request } from '../utils/request'

export const login = (params) => {
    return request('/student/login', {...params })
}
export const register = (params) => {
    return request('/student/ins_student', {...params }, false)
}
export const sendCode = (params) => {
    return request('/school_user/app_get_pwd_send_sms', {...params })
}
export const forgetPassword = (params) => {
    return request('/school_user/app_get_pwd', {...params })
}
export const changePassword = (params) => {
    return request('/school_user/change_passwd', {...params })
}